﻿@model IEnumerable<Pyramid.Models.FinanceAccount>

<div class="pageContent">
	<table class="table" width="100%" layouth="20">
		<thead>
			<tr>
				<th width="120">@Html.DisplayNameFor(model=>model.Id)</th>
				<th width="250">@Html.DisplayNameFor(model=>model.AccountType)</th>
				<th width="250">@Html.DisplayNameFor(model=>model.Account)</th>
				<th>@Html.DisplayNameFor(model=>model.Remark)</th>
				<th></th>
			</tr>
		</thead>
		<tbody>
			@foreach (var item in Model)
			{
				<tr target="id" rel="@item.Id">
					<td>
						@item.Id
					</td>
					<td>
						@item.AccountType
					</td>
					<td>
						@item.Account
					</td>
					<td>
						@item.Remark
					</td>
					<td>
						<a class="btnSelect" href="javascript:$.bringBack({FinanceAccountId:'@item.Id', 'FinanceAccount.AccountType':'@item.AccountType', 'FinanceAccount.Account':'@item.Account'})" title="选择">选择</a>
					</td>
				</tr>
			}
		</tbody>
	</table>
</div>
